package com.net.xpay.openapi.dto.open;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 充值服务费等信息
 */
@Getter
@Setter
@NoArgsConstructor
public class ChargeRecordDto {

    @ApiModelProperty(notes = "充值的基础金额 单位元 保留2位小数")
    private String amount;

    @ApiModelProperty(notes = "系统交易号")
    private String chargeRecordId;

    @ApiModelProperty(notes = "支付宝交易号")
    private String tradeNo;

    @ApiModelProperty(notes = "导入的明细外部订单号")
    private String importBizNo;

    @ApiModelProperty(notes = "付款时间")
    private LocalDateTime payTime;

    @ApiModelProperty(notes = "创建时间")
    private LocalDateTime createTime;


    public static ChargeRecordDto getInstance() {
        return new ChargeRecordDto();
    }
}
